import { MyFile } from '../../type'
import { JSX } from 'react'
import { FileTree } from './file-tree'

interface Props {
  files: MyFile[]
}
export function LeftTree(props: Props): JSX.Element {
  return (
    <div className="p-3">
      <FileTree deep={0} files={props.files} />
    </div>
  )
}
